From 127b12f40ffb746a6cb378fa655ecba58c478fea Mon Sep 17 00:00:00 2001 From: oliskoli Date: Fri, 24 Nov 2006 21:08:24 +0000 Subject: [PATCH] ISO C fix. --- gpsbabel/pcx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gpsbabel/pcx.c b/gpsbabel/pcx.c index 3b75de0f0..7e77c2d73 100644 --- a/gpsbabel/pcx.c +++ b/gpsbabel/pcx.c @@ -256,8 +256,9 @@ data_read(void) // where our other columns start. case 'F': { int col; - sym_col = 0; char *i = ibuf; + sym_col = 0; + for (col = 0, i = ibuf; *i; col++, i++) { if (0 == case_ignore_strncmp(i, "comment", 7)) { comment_col = col; -- 2.30.2